<template>
	<view class="records">
		<view class="title">套餐购买</view>
		<image
      mode="widthFix"
      class="closeIcon"
      @click="onHandleBuyClose"
      src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/records/close.png"
    />
		<view class="content">
			<image
				class="treasure"
      	src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/buy/buy.png"
    	/>
			<view class="friend">
				<image
					src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/buy/buy-btn.png"
					mode="scaleToFill"
				/>
			</view>
		</view>
    </view>
	</view>
</template>
<script>
export default {
	props: {
		dialogTitle: {
			type: String,
			default: ''
		}
	},
	methods: {
		onHandleBuyClose() {
			this.$emit('onHandleBuyClose')
		}
	}
}
</script>

<style scoped>
.records {
	background: rgba(250, 250, 250, .5);
	position: relative;
	border-radius: 20rpx;
	padding: 40rpx;
	width: 600rpx;
}
.records .title {
	width: 100%;
	height: 120rpx;
	line-height: 120rpx;
	background: url('https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/records/title-bg.png');
	background-size: 100% 100%;
	border-top-left-radius: 20rpx;
	font-size: 50rpx;
	color: #af5c0b;
	font-weight: 800;
	letter-spacing: 8rpx;
	margin-bottom: 0 !important;
}
.records .closeIcon {
	width: 60rpx;
	height: 60rpx;
	position: absolute;
	top: -10rpx;
	right: -10rpx;
}
.content {
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 10rpx solid #ffdd96;
	border-top: none;
	border-bottom-left-radius: 20rpx;
	border-bottom-right-radius: 20rpx;
}
.content .treasure {
	width: 90%;
	height: 300rpx;
	margin: 20rpx 0;
}
.friend {
	width: 100%;
	display: flex;
	justify-content: space-around;
}
.friend .item {
	width: 25%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.friend image {
	width: 200rpx;
	height: 100rpx;
	margin-bottom: 40rpx;
}
</style>